﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using TaoBaoProject.Common;

namespace TaoBaoProject.Pages
{
    public partial class UserManage : BasePage
    {
        //public bool IsAdmin = Convert.ToBoolean(ContextWeb.CurrentUser.IsAdmin);
        public bool IsAdmin;
        public string CurrentUserName;

        protected void Page_Load(object sender, EventArgs e)
        {
            IsAdmin = Convert.ToBoolean(ContextWeb.CurrentUser.IsAdmin);
            CurrentUserName = ContextWeb.CurrentUser.UserName;
        }
    }
}